<?xml version='1.0' encoding='UTF-8' ?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:p="http://primefaces.org/ui"
	xmlns:c="http://java.sun.com/jstl/core">
<head>

</head>
<body>

	<ui:composition template="templates/faceTemplate.xhtml">

		<ui:define name="top">
			<h1>Default</h1>
		</ui:define>

		<ui:define name="content">
			<h:form>
				<div class="posts">
					<h2>
						asdsad
						<h:outputText value="Size: " />
					</h2>

					<ui:repeat var="post" value="#{postService.posts}">
						<div class="postasd">
							<h1>
								<h:outputText value="#{post.title}" />
							</h1>

							<p>
								<h:outputText value="#{post.body}" />
							</p>
							<p>
								<h:outputText value="#{post.tags} #{post.createDate}" />
							</p>
						</div>
					</ui:repeat>
				</div>
				
				<a href="facebook/asd">as</a>

			</h:form>
		</ui:define>
		<ui:define name="bottom">

		</ui:define>
	</ui:composition>

</body>
</html>
